package com.zhiche.lisa.bms.dao.model.statistics;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 应收费用统计表-新
 * </p>
 *
 * @author linbao
 * @since 2019-09-24
 */
@TableName("lisa_static_novo_income_cost")
public class StaticNovoIncomeCost extends Model<StaticNovoIncomeCost> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 系统订单号
     */
	@TableField("sys_order_id")
	private String sysOrderId;
    /**
     * 公里数
     */
	private BigDecimal miles;
    /**
     * 单价
     */
	private BigDecimal price;
    /**
     * 运输费
     */
	private BigDecimal fare;
    /**
     * 其他费用
     */
	@TableField("other_fee")
	private BigDecimal otherFee;
    /**
     * 总金额
     */
	private BigDecimal money;
    /**
     * 价格类型
     */
	@TableField("price_type")
	private String priceType;
    /**
     * 开票单位
     */
	@TableField("partya_name")
	private String partyaName;
    /**
     * bms更新时间
     */
	@TableField("bms_update_time")
	private Date bmsUpdateTime;
    /**
     * 处理状态
     */
	@TableField("deal_status")
	private Integer dealStatus;
    /**
     * 处理时间
     */
	@TableField("deal_time")
	private Date dealTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSysOrderId() {
		return sysOrderId;
	}

	public void setSysOrderId(String sysOrderId) {
		this.sysOrderId = sysOrderId;
	}

	public BigDecimal getMiles() {
		return miles;
	}

	public void setMiles(BigDecimal miles) {
		this.miles = miles;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public BigDecimal getFare() {
		return fare;
	}

	public void setFare(BigDecimal fare) {
		this.fare = fare;
	}

	public BigDecimal getOtherFee() {
		return otherFee;
	}

	public void setOtherFee(BigDecimal otherFee) {
		this.otherFee = otherFee;
	}

	public BigDecimal getMoney() {
		return money;
	}

	public void setMoney(BigDecimal money) {
		this.money = money;
	}

	public String getPriceType() {
		return priceType;
	}

	public void setPriceType(String priceType) {
		this.priceType = priceType;
	}

	public String getPartyaName() {
		return partyaName;
	}

	public void setPartyaName(String partyaName) {
		this.partyaName = partyaName;
	}

	public Date getBmsUpdateTime() {
		return bmsUpdateTime;
	}

	public void setBmsUpdateTime(Date bmsUpdateTime) {
		this.bmsUpdateTime = bmsUpdateTime;
	}

	public Integer getDealStatus() {
		return dealStatus;
	}

	public void setDealStatus(Integer dealStatus) {
		this.dealStatus = dealStatus;
	}

	public Date getDealTime() {
		return dealTime;
	}

	public void setDealTime(Date dealTime) {
		this.dealTime = dealTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "StaticNovoIncomeCost{" +
			", id=" + id +
			", sysOrderId=" + sysOrderId +
			", miles=" + miles +
			", price=" + price +
			", fare=" + fare +
			", otherFee=" + otherFee +
			", money=" + money +
			", priceType=" + priceType +
			", partyaName=" + partyaName +
			", bmsUpdateTime=" + bmsUpdateTime +
			", dealStatus=" + dealStatus +
			", dealTime=" + dealTime +
			"}";
	}
}
